package org.columba.mail.gui.socialnet;

import edu.uci.ics.jung.graph.Vertex;
import edu.uci.ics.jung.graph.impl.UndirectedSparseEdge;

public class SocialNetWorkWeightedLink extends UndirectedSparseEdge{
	 public SocialNetWorkWeightedLink(Vertex from, Vertex to)
	    {
	        super(from, to);
	        weight = 1.0D;
	    }

	    public SocialNetWorkWeightedLink(Vertex from, Vertex to, double weight)
	    {
	        super(from, to);
	        this.weight = 1.0D;
	        this.weight = weight;
	    }

	    double weight;
	    
	    public double getWeight()
	    {
	    	return weight;
	    }
}
